#ifndef SEVENCARDSAVED_H
#define SEVENCARDSAVED_H

#include "shue.h"

class SevenCardSavedGame
{
    public:
        enum SaveTypes
        {
            VPOKER_PLAYING = 1,
            DBLUP_AVAIL_1ST,
            DBLUP_AVAIL_NOT1ST,
            DBLUP_PLAYING,
            DBLUP_PLAYING_NOT1ST
        };

        SaveTypes   eKind;

        uint8       ucDeckConfiguration;
        ShueSave    shue;
        ShueSave    dblUpShue;

        uint8       ucPhase;
        uint8       ucPayTable;

        int32       nBet;
        int32       nBet_2;
        int32       nBet_3;
        int32       nBet_4;

        uint8       aucBestCards[5];
                
        bool8       bSideBetEnabled;
        int32       nSideBet;
        int32       nSideBetPayout;        
        uint8       ucSideBetPayTable;
        int32       nSideBetWinType;
        uint8       ucSideBetRank;        
        
        enum Constants { MAXCARDS = 7 };

        uint8       ucDblUpEnabled;
        uint8       aucDblUpLastDealt[MAXCARDS];
        char        cDblUpLastOutcome;
        int32       nDblUpOrigPayType;
        int32       nDblUpPayType;
        int32       nDblUpPayout;
        int32       nDblUpWins;
        int32       nDblUpRound;
};

#endif
